func runtime.mallocgc
35 uses
runtime (current package)
chan.go#L99: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L105: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L110: c.buf = mallocgc(mem, elem, true)
iface.go#L147: t2 := (*itabTableType)(mallocgc((2+2*t.size)*goarch.PtrSize, nil, true))
iface.go#L344: x := mallocgc(t.Size_, t, true)
iface.go#L360: x := mallocgc(t.Size_, t, false)
iface.go#L372: x = mallocgc(2, uint16Type, false)
iface.go#L385: x = mallocgc(4, uint32Type, false)
iface.go#L404: x = mallocgc(8, uint64Type, false)
iface.go#L423: x = mallocgc(unsafe.Sizeof(val), stringType, true)
iface.go#L443: x = mallocgc(unsafe.Sizeof(val), sliceType, true)
iface.go#L526: newC := (*abi.TypeAssertCache)(mallocgc(newSize, nil, true))
iface.go#L632: newC := (*abi.InterfaceSwitchCache)(mallocgc(newSize, nil, true))
malloc.go#L1067: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L2157: return mallocgc(typ.Size_, typ, true)
malloc.go#L2178: return mallocgc(typ.Size_, typ, true)
malloc.go#L2183: return mallocgc(typ.Size_, typ, true)
malloc.go#L2201: return mallocgc(typ.Size_, typ, true)
malloc.go#L2207: return mallocgc(mem, typ, true)
mfinal.go#L238: frame = mallocgc(framesz, nil, true)
slice.go#L58: to = mallocgc(tomem, nil, false)
slice.go#L64: to = mallocgc(tomem, et, true)
slice.go#L117: return mallocgc(mem, et, true)
slice.go#L265: p = mallocgc(capmem, nil, false)
slice.go#L273: p = mallocgc(capmem, et, true)
slice.go#L437: return unsafe.Slice((*byte)(mallocgc(cap, nil, false)), cap)[:len]
slice.go#L450: new := mallocgc(capmem, et, true)
slice.go#L466: new := mallocgc(capmem, nil, false)
slice.go#L483: new := mallocgc(capmem, et, true)
slice.go#L499: new := mallocgc(capmem, nil, false)
string.go#L170: p = mallocgc(uintptr(n), nil, false)
string.go#L325: p := mallocgc(uintptr(size), nil, false)
string.go#L332: p := mallocgc(cap, nil, false)
string.go#L347: p := mallocgc(mem, nil, false)
string.go#L366: bp := mallocgc(uintptr(n), nil, false)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |